
<include file="__THEME__/header" />


<script type="text/javascript" src="__PUBLIC__/js/uploadify/jquery.uploadify.js"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/js/uploadify/style.css" />

<script type="text/javascript">

var uploadify_path = "__PUBLIC__/js/uploadify/";

$(document).ready(function() {
	$('#fileInput1').fileUpload({
		'uploader'   : uploadify_path + 'uploader.swf',
		'script'     : "__URL__/up2",
		'cancelImg'  : uploadify_path + 'cancel.png',
		'folder'     :'__ROOT__/data/test/',
		'onComplete' :function(event, queueID, fileObj, response, data) {
			alert(fileObj.name +'-'+ fileObj.size);
			return false;
		}
	});
});
</script>




<div class="content"><!-- 内容 begin  -->
  <include file="__THEME__/apps" />
  <div class="main"><!-- 画布 begin  -->

		&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;<p>
	
		<form method="post" action="__URL__/upload" enctype="multipart/form-data">
			<input type="file" id="" name="aaa"/>
			<input type="submit" id="" value="上传"/>
		</form>
  
		<div class="demo">
		<p><strong>Single File Upload</strong></p>
		<input type="file" id="fileInput1" name="fileInput1" />
		  <br />
		  <a href="javascript:$('#fileInput1').fileUploadStart();">Upload Files</a>
		</div>
  
  </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
